package com.anda.logistics.service;

import java.util.List;

import com.anda.logistics.model.FreightSource;
import com.anda.logistics.model.SystemUser;
import com.anda.logistics.util.JQGridPager;
import com.anda.logistics.util.QueryFilter;
import com.anda.logistics.vo.FreightSourceVo;
import com.anda.logistics.vo.JsonReturnVo;

public interface FreightSourceService {

	public FreightSource save(FreightSourceVo freightSourceVo, SystemUser user);
	public List getFreightCountByProvince();
	public void update(FreightSourceVo freightSourceVo, SystemUser user);
	public List<FreightSource> getPagerList(JQGridPager pager, String freightState);
	public long getPagedRecords(JQGridPager pager, String freightState);
	public int updateAuditState(String[] ids, SystemUser user);
	public FreightSource getOneById(long freightId);
	public JsonReturnVo saveReceive(long freightId, SystemUser user);
	public JsonReturnVo deliver(long freightId, long truckId, SystemUser user);
	public List<FreightSource> getListByQuery(String a, String i);
	public JsonReturnVo deleteOne(long id, SystemUser user);
	public JsonReturnVo getListByQuery(QueryFilter qf);
	public FreightSource save(FreightSource fs, SystemUser user);
}
